<include file="public@head_meet"/>
<style>
    .show_page {
        text-align: center;
        overflow: hidden;
        float: left;
    }
    .show_page li {
        float: left;
        width: 30px;
        border: solid 1px #e0e0e0;
    }
    .show_page li:first-child {
        float: left;
        width: 30px;
        border-right: none;
    }
    .show_page li:last-child {
        float: left;
        width: 30px;
        border-left: none;
    }
    .show_page li.active {
        background: #0055aa;
        color: #ffffff;

    }
</style>
<div class="divc w980 t10">
    <div class="filter">
        <ul>
            <li style="border-top: none;">
                <label>选择省份：</label>
                <div>
                    <a href="###" onclick="javascript:SetUrl('province', '')" class="<if condition="$province == ''">li_on</if>">不限</a>
                    <foreach name="tags" item="tag">
                        <a href="###" onclick="javascript:SetUrl('province', '{$tag.pid}')" class="<if condition="$province == $tag['pid']">li_on</if>">{$tag.name}</a>
                    </foreach>
                </div>
            </li>
            <li>
                <label>选择学科：</label>
                <div>
                    <a href="###" onclick="javascript:SetUrl('subject', '')" class="<if condition="$subject == ''">li_on</if>">不限</a>
                    <foreach name="categories" item="item">
                    <a href="###" onclick="javascript:SetUrl('subject', '{$item.id}')" class="<if condition="$subject == $item['id']">li_on</if>">{$item.name}</a>
                    </foreach>
                </div>
            </li>
            <li>
                <label>会议年份：</label>
                <div>
                    <a href="###" onclick="javascript:SetUrl('year', '')" class="<if condition="$year == ''">li_on</if>">不限</a>
                    <a href="###" onclick="javascript:SetUrl('year', '2015')" class="<if condition="$year == '2015'">li_on</if>">2015年</a><a
                        href="###" onclick="javascript:SetUrl('year', '2016')" class="<if condition="$year == '2016'">li_on</if>">2016年</a>
                    <a href="###" onclick="javascript:SetUrl('year', '2017')" class="<if condition="$year == '2017'">li_on</if>">2017年</a><a
                        href="###" onclick="javascript:SetUrl('year', '2018')" class="<if condition="$year == '2018'">li_on</if>">2018年</a>
                </div>
            </li>
            <li>
                <label>会议月份：</label>
                <div>
                    <a href="###" onclick="javascript:SetUrl('month', '')" class="<if condition="$month == ''">li_on</if>">不限</a>
                    <a href="###" onclick="javascript:SetUrl('month', '1')" class="<if condition="$month == '1'">li_on</if>">1月</a><a
                        href="###" onclick="javascript:SetUrl('month', '2')" class="<if condition="$month == '2'">li_on</if>">2月</a><a href="###"
                                                                                               onclick="javascript:SetUrl('month', '3')"
                                                                                               class="">3月</a><a
                        href="###" onclick="javascript:SetUrl('month', '4')" class="<if condition="$month == '4'">li_on</if>">4月</a><a href="###"
                                                                                               onclick="javascript:SetUrl('month', '5')"
                                                                                               class="<if condition="$month == '5'">li_on</if>">5月</a><a
                        href="###" onclick="javascript:SetUrl('month', '6')" class="<if condition="$month == '6'">li_on</if>">6月</a><a href="###"
                                                                                               onclick="javascript:SetUrl('month', '7')"
                                                                                               class="<if condition="$month == '7'">li_on</if>">7月</a><a
                        href="###" onclick="javascript:SetUrl('month', '8')" class="<if condition="$month == '8'">li_on</if>">8月</a><a href="###"
                                                                                               onclick="javascript:SetUrl('month', '9')"
                                                                                               class="<if condition="$month == '9'">li_on</if>">9月</a><a
                        href="###" onclick="javascript:SetUrl('month', '10')" class="<if condition="$month == '10'">li_on</if>">10月</a><a href="###"
                                                                                                 onclick="javascript:SetUrl('month', '11')"
                                                                                                 class="<if condition="$month == '11'">li_on</if>">11月</a><a
                        href="###" onclick="javascript:SetUrl('month', '12')" class="<if condition="$month == '12'">li_on</if>">12月</a>
                </div>
            </li>
        </ul>
    </div>
</div>
<div class="subMeetingListBox">
    <php> $weekarray=array("日","一","二","三","四","五","六");</php>
    <foreach name="meets" item="item">
        <php> $weak = $weekarray[date("w",$item['start_time'])] </php>
        <div class="subMeetingListItem">
            <div class="itemDate">
                <p class="itemDatexingqi">星期{$weak}</p>
                <div class="itemDateInfo">
                    <div class="fl nianyue">
                        <p class="year">{:date('Y',$item['start_time'])}</p>
                        <p class="Month">{:date('m',$item['start_time'])}</p>
                    </div>
                    <div class="date">{:date('d',$item['start_time'])}</div>
                </div>
            </div>
            <div class="itemDetail">
                <p class="itemDetailName"><a href="{:cmf_url('meeting/index/show',['id'=>$item['id']])}" target="_blank">{$item.name}</a></p>
                <p class="itemTimeStyle">{:date('Y年m月d日',$item['start_time'])}-{:date('m月d日',$item['end_time'])}</p>
                <p class="itemTimeStyle">{$item.address}</p>


            </div>
            <div class="itemArea">{$item.province_label}</div>
            <div class="itemInfoBtn">
                <div class="meetCharge">
                    <if condition="$item.end_time < time()">
                        <a href="{:cmf_url('meeting/index/show',['id'=>$item['id']])}" target="_blank" class="wych">进入网站</a>
                        <else/>
                        <a href="{:cmf_url('user/index/join',['id'=>$item['id']])}" target="_blank" class="ckwz">我要参会</a>
                        <if condition="$item.tg_status == 1">
                            <a href="{:cmf_url('user/index/tougao')}" target="_blank" class="wych">快速投稿</a>
                        </if>
                    </if>
                </div>
            </div>
            <div class="cl"></div>
        </div>
    </foreach>

    <div style="text-align: center;overflow: hidden">
        <div class="show_page">
           {$pages}
        </div>
    </div>
</div>


</div>

<div class="divc w980 pt10">
    <div class="footer">
        <div style="text-align:center;">
            <span style="line-height:1.5;">重庆企业医院协会 版权所有 地址：重庆市江北区建新东路3号百业兴大厦23</span><span style="line-height:1.5;">楼 联系电话：023-63851455</span>
        </div>
        <div style="text-align:center;">
            <span style="line-height:1.5;"> &nbsp; &nbsp;渝ICP备14003430号-1</span>
        </div>
        <div>
            <p align="center">
            </p>
        </div>
    </div>
</div>
</body>
</html>
